//
//  PlayViewController.h
//  Atlantis
//
//  Created by 何恩营 on 14-12-17.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "Music.h"
@class SearchViewController;
@interface PlayViewController : UIViewController

// 页面传值, 从专辑详情传过来的值
@property(nonatomic, retain) Music *music;
// 播放数组
@property(nonatomic, retain) NSArray *musicArr;
// 当前播放Music在数组中的下标
@property(nonatomic, assign) NSInteger currentMusic;

// 可变字典
@property (nonatomic, retain) NSMutableDictionary *detailsDic;



// 播放单例
+ (PlayViewController *)sharePlayVC;
// 播放
- (void)play;
// 播放按钮触发事件
- (void)playButtonClicked:(UIButton *)playButton;
// 暂停按钮触发事件
- (void)pauseButtonClicked:(UIButton *)pauseButton;



@end
